package com.tiamo.chatgpt.domain.message;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @author luozhiwei
 * @date 2023/6/3 下午7:00
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel
@Builder
@Accessors(chain = true)
public class MessageReqDto {

    @ApiModelProperty("模型")
    private String model;

    @ApiModelProperty("消息体")
    private List<MsgDto> messages;

    public String getModel() {
        return "gpt-3.5-turbo";
    }
}
